package liangtWorkSpace.rsa;

/**
 * @ClassName RSAConfig
 * @Description : 功能说明
 * @Author : LiangT
 * @Date : 2020/4/9 21:45
 */
public class RSAConfig {

    /**
     * 加密算法RSA
     */
    public static final String KEY_ALGORITHM = "RSA";

    /**
     * 获取公钥的key
     */
    private static final String PUBLIC_KEY = "RSAPublicKey";

    /**
     * 获取私钥的key
     */
    private static final String PRIVATE_KEY = "RSAPrivateKey";

    public static final String SIGNATURE_ALGORITHM = "MD5withRSA";

    public static String getSignatureAlgorithm() {
        return SIGNATURE_ALGORITHM;
    }

    public static String getKeyAlgorithm() {
        return KEY_ALGORITHM;
    }

    public static String getPublicKey() {
        return PUBLIC_KEY;
    }

    public static String getPrivateKey() {
        return PRIVATE_KEY;
    }
}
